package org.jason.model.user.dtos;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("修改密码参数")
public class ChangePasswordDto {

    @NotBlank(message = "旧密码为空")
    String oldPassword;

    @NotBlank(message = "新密码为空")
    String newPassword;
}
